package at.fhv.wordProcessing;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

import at.fhv.wordProcessing.filter.LineFilter;
import at.fhv.wordProcessing.filter.PageFilter;
import at.fhv.wordProcessing.filter.SourceFilter;
import at.fhv.wordProcessing.filter.WordFilter;
import at.fhv.wordProcessing.pipe.PagePipe;

/**
 * The Main class.
 * 
 * @author Michael Sieber
 */
public class Main {

	/**
	 * @param args
	 * @throws FileNotFoundException
	 */
	public static void main(String[] args) throws FileNotFoundException {
		String path = "";
		PagePipe pp = new PagePipe();
		new PageFilter(new LineFilter(new WordFilter(new SourceFilter(
				new FileInputStream(path)))), pp).run();

		pp.read();
	}
}
